//
//  PersonCenterView.h
//  Inforcollection
//
//  Created by macbook on 15/12/3.
//  Copyright © 2015年 oceansoft.liw. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef  void (^StartCallBack)(NSIndexPath *selectIndex);

@interface PersonCenterView : UIView<UITableViewDataSource,UITableViewDelegate>

+(instancetype)setFrame:(CGRect)frame WithModel:(UserModel *)model WihtLogin:(BOOL)isLogin WithCallBack:(StartCallBack)callBack;

-(void)reloadDataWithUserModel:(UserModel *)model WithLogin:(BOOL)isLogin;

@property (nonatomic,copy)StartCallBack callBack;

@property (nonatomic)BOOL isLogin;

@property (nonatomic,strong)UserModel *userModel;

@property (nonatomic)UITableView *tableView;
@end
